package com.verlet.springbootdemo.simple.disruptor.netty;

import com.lmax.disruptor.WorkHandler;

public abstract class AbstractMessageConsumer implements WorkHandler<TranslatorDataWapper> {
    protected String consumerId;

    public AbstractMessageConsumer(String consumerId) {
        this.consumerId = consumerId;
    }

    public String getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(String consumerId) {
        this.consumerId = consumerId;
    }
}
